//
//  RowInputBaseM.h
//  
//  jhf
//
//  Created by 计海峰 on 2020/3/24.
//  Copyright © 2020 计海峰. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "LabelControlM.h"
#import "RowBaseM.h"
#import "InputControlM.h"
#import "ImageControlM.h"
#import "RowBaseShowM.h"

NS_ASSUME_NONNULL_BEGIN

@interface RowInputBaseM : RowBaseShowM

// MARK: - 最低高度
@property (nonatomic, assign) CGFloat minHeight;

// MARK: - 输入框
@property (nonatomic, strong) InputControlM *inputControl;

//MARK:- 单位
@property (nonatomic, strong) LabelControlM *unitLBControl;

//MARK:- 星号 是否必须
@property (nonatomic, strong) LabelControlM *needLBControl;



@property (nonatomic, assign) CGFloat valueLeftCons;
@property (nonatomic, assign) CGFloat valueRightCons;
@property (nonatomic, assign) CGFloat valueRightMinCons;

@property (assign, nonatomic) CGFloat bottomLineVLeftCons;
@property (assign, nonatomic) CGFloat bottomLineVRightCons;
@property (assign, nonatomic) CGFloat bottomLineVBottomCons;

//MARK:- 右边边图片资源
@property (nonatomic, copy) NSString *rightImageSource;
@property (nonatomic, assign) CGFloat rightImageRightCons;

//MARK: - other
// 内边距
//@property (assign, nonatomic) UIEdgeInsets contentInsets;

// 是否必须
//@property (nonatomic, assign) BOOL leftNeed;
//@property (nonatomic, assign) BOOL rightNeed;
//
//@property (nonatomic, assign) CGFloat leftConst;
//@property (nonatomic, assign) CGFloat rightConst;

//MARK: - public
// 默认
+ (RowInputBaseM *)defaultConfigTitle:(NSString *)titleStr value:(NSString *)valueStr;

// code
+ (RowInputBaseM *)defalutCodeConfigTitle:(NSString *)titleStr value:(NSString *)valueStr;

// password
+ (RowInputBaseM *)defalutPasswordConfigTitle:(NSString *)titleStr value:(NSString *)valueStr;

// MARK: - 计数
@property (nonatomic, strong) LabelControlM *countLBControl;

@end

NS_ASSUME_NONNULL_END
